<text>Terminal emulation region is the area of the terminal window in which the terminal tool displays data in a matter that emulates a specific terminal.
</text>
</content>
<name></name>
<script>-- The visual effect for next and prev
wipe left fast, dissolve very fast
</script>
</card>
card_12339.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The cache region is an optional area in the window, which your application can use to display data that scrolls off the top of the terminal emulation region. Because terminal tools do not maintain this area of the terminal emulation window, your application must provide all the necessary code if you want a cache region.</text>
</content>
<name></name>
<script>-- The visual effect for next and prev
dissolve very fast,dissolve very fast
</script>
</card>
card_2299.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>A terminal emulation window is provided to the terminal tools by the application. In addition to title bar, scroll bars, and other standard user interface elements, the terminal emulation window has two major parts: the terminal emulation region and the cache region.
</text>
</content>
<name></name>
<script>--
on openCard
disItem "Terminal Emulation Window"
end openCard
--
on closeCard
enaItem "Terminal Emulation Window"
end closeCard
-- The visual effect for next and prev
dissolve very fast, wipe right
</script>
</card>
card_9832.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>You can use the Terminal Manager with the other Communication Toolbox Managers to create a communication application with connection and file transfer capabilities.</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Applications</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>12 of 18</text>
</content>
<name></name>
<script>--
on openCard
disItem "Applications"
end openCard
--
on closeCard
enaItem "Applications"
end closeCard
-- The visual effect for next and prev
dissolve, wipe right
</script>
</card>
card_8792.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">here are also localization routines</span><span class="style2"> </span><span class="style1">that make it easy for you to set up your application for other countries.
</span></text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Utilities</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>11 of 18</text>
</content>
<name></name>
<script>-- The visual effect for next and prev
wipe left, wipe right
</script>
</card>
card_8314.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>There are configuration routines for your application to easily configure a terminal tool, either with the use of a dialog box or programmatically with a configuration string interface.</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Utilities</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>10 of 18</text>
</content>
<name></name>
<script>--
on openCard
disItem "Utilities"
end openCard
--
on closeCard
enaItem "Utilities"
end closeCard
-- The visual effect for next and prev
wipe left, wipe right
</script>
</card>
card_7756.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Multiple instances of the same tool within the application are allowed by the terminal manager. This means that multiple records of the same tool can exist at the same time.
</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Terminal Record</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>9 of 18</text>
</content>
<name></name>
<script>-- The visual effect for next and prev
wipe left, wipe right
</script>
</card>
card_7587.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The Terminal Record is emulation independent. That is, it does not have any public information that is specific to a certain terminal. In this way, the application doesn't have to concern itself with the terminal that is being emulated.</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Terminal Record</text>
</content>
<content>
<layer>card</layer>
<id>1</id>
<text>TYPE
TermHandle = ^TermPointer;
TermPointer = ^TermRecord;
TermRecord = RECORD
procID = INTEGER
flags : TMFlags;
errCode : TMErr;
refCon : LONGINT;
userData : LONGINT;
defProc : ProcPtr;
config : Ptr;
oldConfig : Ptr;
environsProc : ProcPtr;
reserved1 : LONGINT;
reserved2 : LONGINT;
tmPrivate : Ptr;
sendProc : ProcPtr;
breakProc : ProcPtr;
cacheProc : ProcPtr;
clikLoop : ProcPtr;
owner : WindowPtr;
termRect : Rect;
viewRect : Rect;
visRect : Rect;
lastIdle : LONGINT;
selection : TMSelection;
selType : TMSelTypes;
mluField : LONGINT;
END;</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>8 of 18</text>
</content>
<name></name>
<script>--
on closeCard
set scroll of cd fld "file transfer record" to 0
end closeCard
-- The visual effect for next and prev
wipe left, dissolve
</script>
</card>
card_7397.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The Terminal Record is the data structure that stores all the specifics about the terminal emulation: things like the type of terminal, the uses of cache, etc.
</text>
</content>
<content>
<layer>card</layer>
<id>1</id>
<text><span class="style1">YPE
TermHandle = ^TermPointer;
TermPointer = ^TermRecord;
TermRecord = RECORD
procID = INTEGER
flags : TMFlags;
errCode : TMErr;
refCon : LONGINT;
userData : LONGINT;
defProc : ProcPtr;
config : Ptr;
oldConfig : Ptr;
environsProc : ProcPtr;
reserved1 : LONGINT;
reserved2 : LONGINT;
</span><span class="style1">tmPrivate : Ptr;
sendProc : ProcPtr;
breakProc : ProcPtr;
cacheProc : ProcPtr;
clikLoop : ProcPtr;
owner : WindowPtr;
termRect : Rect;
viewRect : Rect;
visRect : Rect;
lastIdle : LONGINT;
selection : TMSelection;
selType : TMSelTypes;
mluField : LONGINT;
END;</span></text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>Terminal Record</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>7 of 18</text>
</content>
<name></name>
<script>--
on openCard
disItem "Terminal Record"
end openCard
--
on closeCard
enaItem "Terminal Record"
set scroll of cd fld "file transfer record" to 0
end closeCard
-- The visual effect for next and prev
dissolve, wipe right
</script>
</card>
card_6205.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>After the tool performs the task, it sends any relevant parameters and return codes to the Terminal Manager, which forwards them to the application.</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>How it does it</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>6 of 18</text>
</content>
<name></name>
<script>-- *** animate the arrow
on cdAnim
choose line tool
set dragSpeed to 35
drag from 463,113 to 463,82
drag from 462,82 to 403,82
drag from 403,83 to 403,101
wait 10
drag from 381,105 to 381,46
drag from 380,46 to 319,46
drag from 319,47 to 319,56
wait 19
drag from 296,59 to 296,46
drag from 295,46 to 275,46
choose browse tool
end cdAnim
--
on closeCard
choose select tool
doMenu "Revert"
choose browse tool
end closeCard
-- The visual effect for next and prev
wipe left, dissolve
</script>
</card>
card_5638.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The tool is programmed with all the information needed to perform terminal emulation operations according to specific characteristics of a terminal.</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>How it does it</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>5 of 18</text>
</content>
<name></name>
<script>-- *** animate the arrow
on cdAnim
traceArrow
wait 20
choose browse tool
end cdAnim
--
on traceArrow
choose line tool
set dragSpeed to 35
drag from 403,164 to 403,188
drag from 404,188 to 430,188
end traceArrow
--
on closeCard
choose select tool
doMenu "Revert"
choose browse tool
end closeCard
-- The visual effect for next and prev
wipe left, wipe left
</script>
</card>
card_5275.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The application calls the Terminal Manager routine to perform a particular task (e.g. transmit and display characters and graphics, position cursor, etc.)</text>
</content>
<content>
<layer>background</layer>
<id>2</id>
<text>How it does it</text>
</content>
<content>
<layer>background</layer>
<id>8</id>
<text>3 of 18</text>
</content>
<name></name>
<script>-- *** animate the arrow
on cdAnim
wait 30
clickG
wait 10
traceArrow
wait 20
choose browse tool
end cdAnim
--
on clickG
play "click"
put "g" into cd fld "terminal emulation"
end clickG
--
on traceArrow
choose line tool
set dragSpeed to 35
drag from 204,203 to 204,219
drag from 205,219 to 296,219
drag from 296,218 to 296,144
end traceArrow
--
on openCard
disItem "How it does it"
end openCard
--
on closeCard
enaItem "How it does it"
put EMPTY into cd fld "terminal emulation"
choose select tool
doMenu "Revert"
choose browse tool
end closeCard
-- The visual effect for next and prev
wipe right, wipe left
</script>
</card>
card_4321.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>The Terminal Manager provides emulation independent terminal services, so your application doesn't have to take into account the characteristics of specific terminal types.</text>